//
// Created by ziya on 2021/4/29.
//

#ifndef ZIYA_JVM_CPP_GENERATION_H
#define ZIYA_JVM_CPP_GENERATION_H

#include "../utilities/HeapWord.h"
#include "../../../include/common.h"

class Generation {

public:
    virtual HeapWord* allocate(size_t word_size, bool is_tlab) = 0;
    virtual HeapWord* par_allocate(size_t word_size, bool is_tlab) = 0;
};


#endif //ZIYA_JVM_CPP_GENERATION_H
